Welcome![Sign In][Sign Up]
Location:
Search - webbrowser MFC

Search list

[WinSock-NDIS简单的web浏览器

Description: 使用MFC编写的简单的浏览器 CHtmlView 类的成员函数 1.获取和设置属性(Attributes)的成员函数 (1)CString GetType( ) const; (2)long GetLeft( ) const; void SetLeft( long nNewValue ); (3)long GetTop( ) const; void SetTop( long nNewValue ); (4)long GetHeight( ) const; void SetHeight( long nNewValue ); (5)BOOL GetVisible( ) const; void SetVisible( BOOL bNewValue ); 2.主要的操作(Operations)成员函数 这些成员函数非常有用,常常用在应用程序中。 void GoBack( ); 导航到历史列表的前一个条目(previous item)。 void GoForward( ); 导航到历史列表的下一个条目。 void GoHome( ); 导航到主页,该主页在IE的属性中设置。 void GoSearch( ); 导航到当前搜索页。该页在IE的属性中设置。 void Refresh( ); 重新装入浏览器当前正在显示的URL或者文件,即刷新。 void Stop( ); 撤销任何未完成的导航或下载,并且停止任何动态的页面元素,例如背景音乐和动画。 Navigate 导航到由URL指定的资源。 Navigate2 导航到由URL指定的资源或者由全路径指定的文件。 PutProperty 设置与所给定的对象相关的属性的当前值。 GetProperty 返回与所给定的对象相关的属性的当前值。 ExecWB 执行一个命令。 LoadFromResource 在WebBrowser控件中装入一个资源。 3.事件(Events)处理函数 为了利用Windows的消息驱动机制,CHtmlView 类定义了许多可重载的事件处理函数,当一定的事件发生时,MFC框架会自动调用相应的事件处理函数。用户可以重载这些函数,添加自己的代码,实现应用程序特定的功能。下面列举了一些,详细的资料可查阅MSDN文档。 OnNavigateComplete2 对于一个窗口或显示框架,完成到一个超链接的导航后,调用此函数 OnBeforeNavigate2 对于一个窗口或显示框架,在给定的Web浏览器中,一个导航出现之前,调用此函数 virtual void OnStatusTextChange( LPCTSTR lpszText ); 当与WebBrowser 控件相关的状态栏的文本改变时,调用此函数,参数lpszText包含新的状态栏文本的字符串。 virtual void OnVisible( BOOL bVisible ); 当WebBrowser 的窗口应当被显示或隐藏时,框架调用此函数,bVisible表示了窗口的状态,:如果为非零,对象可见;为零,对象不可见。 virtual void OnToolBar( BOOL bToolBar ); 当 ToolBar 属性已经改变时,调用此函数,bToolBar为非零, IE的工具栏是可见的;否则相反。 virtual void OnMenuBar( BOOL bMenuBar ); 当 MenuBar 属性已改变时,调用此函数。bMenuBar为非零,菜单栏可见;否则相反。
Platform: | Size: 3688551 | Author: chuengchi@126.com | Hits:

[Browser Client网络浏览器(H)

Description: 一个用MFC自带的控件做的浏览器,虽然简单了一点,但也提供了一种最简单的解决问题的方式。-an onboard with MFC controls do browser, a simple, but also provides a simple method of solving problems.
Platform: | Size: 70656 | Author: XFX | Hits:

[GUI Developcwebpage

Description: Display a Web Page in a Plain C Win32 Application: There are numerous examples that demonstrate how to embed Internet Explorer in your own window. But these examples typically use Microsoft Foundation Classes (MFC), .NET, C#, or at least the Windows Template Library (WTL) because those frameworks have pre-fabricated "wrappers" to easily give you an "HTML control" to embed in your window. If you re trying to use plain C, without MFC, WTL, .NET, C#, or even any C++ code at all, then there is a dirth of examples and information how to deal with OLE/COM objects such as IE s IWebBrowser2. Here is an article and working example in C to specifically show you what you need to do in order to embed IE in your own window, and more generally, show you how to interact with OLE/COM objects and create your own objects in plain C.
Platform: | Size: 48128 | Author: 刘国栋 | Hits:

[VC/MFCWTLIEHost

Description: WTL for MFC Programmers第6章的例程,编写使用IE的浏览器控件的自己定制浏览器-WTL for MFC Programmers Chapter 6 of routines, prepared to use IE browser controls its own customized browser
Platform: | Size: 95232 | Author: xinglei | Hits:

[OS DevelopFormview

Description: VC++实现的formview实现可上下滚动对话框,非常值得参考.-VC++ Realize realize the FormView can scroll up and down the dialog box, very worth considering.
Platform: | Size: 2215936 | Author: 罗心安 | Hits:

[Browser ClientInternetMan

Description: 用VC++做的网页浏览器,MFC框架下的程序,对新手来说是很好的,代码和功能都很简单-With VC++ Make the web browser, MFC under the framework of the procedure, the novice is very good, very simple code and function
Platform: | Size: 1992704 | Author: bill | Hits:

[Internet-NetworkMFC_webbrowser

Description: MFC下定制化webbrowser控件的使用,源自Codeproject&MSDN,在VS2008下编译通过。-Under the MFC customized using the webbrowser control, from Codeproject & MSDN, under the VS2008 compiler through.
Platform: | Size: 6866944 | Author: lhf | Hits:

[Internet-NetworkWebBrowser

Description: 简易web浏览器 vc++6.0 mfc 源代码,编译通过-Simple web browser vc++6.0 mfc source code, compiled through
Platform: | Size: 98304 | Author: wangqian | Hits:

[Othertreeview

Description: MFC控件,树形,像资源管理器一样,实现树形获取文档的功能-MFC control, tree, like the Explorer, the same access to the document to achieve the function tree
Platform: | Size: 1890304 | Author: 殿 | Hits:

[Windows Developwebbrowser

Description: 一个很简单开发web浏览器的教程 非常详细,用VC的mfc开发~适用于新手-A very simple web browser developed a very detailed tutorial, developed with VC' s mfc ~ suitable for beginners
Platform: | Size: 470016 | Author: zhangchi | Hits:

[Browser ClientCh14Demo5--WebBrowser

Description: 在Visual C++中安全嵌入网页浏览器,小的MFC程序,教你学会控件的使用-In Visual C++ in the embedded web browser security, small MFC program, teach you how to control the use of
Platform: | Size: 46080 | Author: 郭大万 | Hits:

[Browser ClientWEBbrowser

Description: 实现我的web浏览器,可以浏览网页,具有mfc界面,方便实用-Achieve my web browser, you can browse the web, with mfc interface, convenient and practical
Platform: | Size: 47104 | Author: wuweifeng | Hits:

[Windows DevelopChangeHtmlByMFC

Description: 自动填表,VS/MFC写的直接填百度,用的webbrowser控件,源码很有用-i can not speak english!
Platform: | Size: 67584 | Author: myanbu | Hits:

[Windows Developwebbrowser

Description: MFC使用WebBrowser控件,实现js与C++的互调用-MFC uses the WebBrowser control, the js and C++, mutual call
Platform: | Size: 61440 | Author: wg | Hits:

[Dialog_WindowMFCHtml

Description: 利用mfc调用html文件并显示 利用mfc调用html文件并显示-uses the WebBrowser in MFC to control the js
Platform: | Size: 54272 | Author: 非虻 | Hits:

[Windows DevelopChangeHtmlByMFC

Description: 自动填表,VS/MFC写的直接填百度,用的webbrowser控件,源码很有用-i can not speak english!
Platform: | Size: 67584 | Author: 有地下水 | Hits:

[Dialog_WindowWebBrowser

Description: 微软的MFC和.NET都有WebBrowser控件,这两个控件虽然容易上手,不过由于包装的太好,所以很难深入。因此介绍的WebBrowser将不使用MFC和.NET,而是使用C++实现SDK的WebBrowser-Microsoft s MFC and. NET has a WebBrowser control, although both controls easy to use, but because the packaging very good, it is difficult to depth. Therefore introduced WebBrowser will not use MFC and. NET, but the use of C++ implementation of the SDK WebBrowser
Platform: | Size: 3705856 | Author: 杨志灵 | Hits:

[GUI Develop3.HTMLEdit

Description: 该HTMLEdit示例显示了如何使用MFC类包装的Internet Explorer中的WebBrowser ActiveX控件。在编辑模式下,WebBrowser ActiveX控件暴露你看到的就是你得到的(WYSIWYG)的编辑功能。MFC库提供的类(CHtmlEditView和CHtmlEditDoc)该主机的MSHTML编辑控制在一个窗口类,并提供方便的包装类控件的属性,方法和事件。-The HTMLEdit example shows how to use the MFC class package in Internet Explorer WebBrowser ActiveX control. In edit mode , WebBrowser ActiveX control exposes you see is what you get (WYSIWYG) editing functions. MFC class library provides (CHtmlEditView and CHtmlEditDoc) that host MSHTML editing control in a window class , and provides a convenient wrapper class controls the properties, methods and events.
Platform: | Size: 39936 | Author: fushan_liu | Hits:

[GUI DevelopMFCHtml

Description: 在MFC中使用浏览器在MFC 中微软为我们提供了CHtmlView、CDHtmlDialog 类让我们的程序很方便的嵌 入浏览器和进行浏览器的二次开发,这比直接使用WebBrowser 控件要方便很多,所以本 文中讨论的浏览器的问题都是针对CHtmlView来讨论的。文中将提到一个类CLhpHtmlView, 它是CHtmlView-在MFC 中微软为我们提供了CHtmlView、CDHtmlDialog 类让我们的程序很方便的嵌 入浏览器和进行浏览器的二次开发,这比直接使用WebBrowser 控件要方便很多,所以本 文中讨论的浏览器的问题都是针对CHtmlView来讨论的。文中将提到一个类CLhpHtmlView, 它是CHtmlView
Platform: | Size: 49152 | Author: kjf | Hits:

[OtherMFC使用WebBrowser控件调用百度地图API案例

Description: mfc调用百度地图,可实现输入坐标显示位置(MFC calls Baidu maps Input coordinate display position can be realized)
Platform: | Size: 2543616 | Author: 波18 | Hits:

CodeBus www.codebus.net